﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace CascadeDropDown.Library.Component
{
    //public class MyDataSourceView<T> : DataSourceView
    //{
    //    public T Data { get; private set; }
    //    public MyDataSourceView(T data)
    //        : base(new MyDataSource(), "Default")
    //    {
    //        Data = data;
    //    }

    //    protected override System.Collections.IEnumerable ExecuteSelect(DataSourceSelectArguments arguments)
    //    {

    //    }
    //}
    //public class MyDataSource : IDataSource
    //{

    //    public event EventHandler DataSourceChanged;

    //    public DataSourceView GetView(string viewName)
    //    {
    //        throw new NotImplementedException();
    //    }

    //    public System.Collections.ICollection GetViewNames()
    //    {
    //        throw new NotImplementedException();
    //    }
    //}
}
